package com.zhihao.takeaway.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhihao.takeaway.common.utils.EasyUITable;
import com.zhihao.takeaway.entity.Employee;
import com.zhihao.takeaway.entity.EmployeeAndOrders;
import com.zhihao.takeaway.entity.Person;

public interface EmployeeService extends IService<Employee> {

    Employee isEmployeeExist(String account);
    String selectUserName();

    Boolean isEnroll(Person person);

    String enroll(Person person);

    EasyUITable getAllData(Integer currentPage);

    Integer updateEmployee(Employee employee);

    Integer deleteById(String id);

    EmployeeAndOrders getEmployeeInfo(String employeeId);
}
